package com.cxb.receiver;

import com.cxb.MainActivity;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;

public class AnalysisReceiver extends BroadcastReceiver {
	@Override
	public void onReceive(Context context, Intent intent) {
		if (intent.getAction().equals("leader.intent.analysis")) {
			MainActivity.analysisResult = intent.getStringExtra("result");
		}
	}
}
